package pub.cleangao.codegen.enquiry.mysql;

import pub.cleangao.codegen.sqlexe.DbType;
import pub.cleangao.codegen.GenConfigHolder;
import pub.cleangao.codegen.enquiry.EnquiryService;
import pub.cleangao.codegen.enquiry.TableEnquiry;

public class MySQLEnquiryService implements EnquiryService {

    @Override
    public TableEnquiry getTableEnquiry(GenConfigHolder config) {
        return new MySQLTableEnquiry(config, new MySQLColumnEnquiry(config));
    }

    @Override
    public String signature() {
        return DbType.MYSQL.getSignature();
    }

}
